package com.group9.nepmserver.controller;


import com.group9.nepmserver.pojo.GridProvince;
import com.group9.nepmserver.service.IGridProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


@RestController
@RequestMapping("/gridProvince")
public class GridProvinceController {

	@Autowired
	private IGridProvinceService gridProvinceService;
	
	//全查询省信息接口
	@RequestMapping("/listGridProvinceAll")
	public List<GridProvince> listGridProvinceAll(){
		return gridProvinceService.listGridProvinceAll();
	}
	
}
